package com.hnust.service;

import com.hnust.domain.*;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.http.Query;

import java.util.List;

public interface GradeResultService {
    void reportResults(Callback<Result<List<GradeList>>> callback, String examCourseId, String classId);
    //获取考试班级名称
    void getClassName(Callback<Result<List<ClassNameAndID>>> callback,String examId);

    //获取班级成绩单
    void getClassGrade(Callback<Result<List<StudentGradReport>>> callback,String examId,String classId);

    //获取批改试卷
    void getPaperDocx(Callback<ResponseBody> callback, String paperId);

    //获取考试名称
    void getTestName(Callback<Result<String>> callback,String testid);

    //导出学生成绩单
    void exportList (Callback<ResponseBody> callback, RequestBody ssl);
}
